package com.itheima.dao;

import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingDao {
   //直接插入
    public void  upload(OrderSetting orderSetting);
    //根据日期来改可预约的人数
    public void editNumberByOrderDate(OrderSetting orderSetting);
    //根据日期作为条件查询有没有相应的数据
    public long findCountByOrderDate(Date orderDate);
  //根据月分查询对应的预约人数
 public List<OrderSetting> getOrderSettingByMonth(Map map);
}

